<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加用户信息</title>
</head>
<body>
	请输入用户信息
	<form name="fm">
		<table width="700px">
			<tr>
				<td width="30%">姓名：</td>
				<td width="70%"><input type="text" name="userName" id="userName"></td>
			</tr>
			<tr>
				<td>登录名：</td>
				<td><input type="text" name="userDlm" id="userDlm"></td>
			</tr>
			<tr>
				<td>电话：</td>
				<td><input type="text" name="telephone" id="telephone"></td>
			</tr>
		</table>
		<input type="button" name="btn1" value="提交" onClick="submitCheck()">
	</form>
</body>
</html>

<script>
function submitCheck(){
	//省略了数据合法性验证
	
	document.fm.method="post";
	document.fm.action="d2018.3.27_userAdd_do.jsp";
	document.fm.submit();
}
</script>